<h2><?=tr('News')?></h2>
<?
	$news = fgsNews::getLast(null, 2);
	if (is_array($news)) {
		foreach ($news as $row) {
			printf('
				<div class="news_entry">
					<h3>%s</h3>
					<div class="time">%s</div>
					<div class="text">%s</div>
				</div>',
				$row['title'],
				fgsUtils::formatDate($row['date']),
				$row['text']
			);
		}
	} else {
		echo tr('No news yet');
	}
?>
